<!DOCTYPE html>
<html mip>
<head>
    <meta charset="utf-8">
    <meta name="applicable-device" content="mobile">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
    <title>{block name='mipTitle'}{$mipTitle}{/block}</title>
    <meta name="keywords" content="{block name='mipKeywords'}{$mipKeywords}{/block}">
    <meta name="description" content="{block name='mipDescription'}{$mipDescription}{/block}">
    <link rel="shortcut icon" href="{$domainStatic}/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" type="text/css" href="https://c.mipcdn.com/static/v1/mip.css">
    <link rel="stylesheet" type="text/css" href="{$domainStatic}/{$assets}/{$tplName}/css/nicemip-m.css">
    <link rel="canonical" href="{$siteUrl}">

    <style mip-custom>
    
    {block name="style"}{/block}

    ul.news{ 
        margin：0px；
        padding：0px；
        width:300px; 
        text-align:left;
    } 
    ul.news li{
        height:30px;
        line-height:28px;
        text-indent:14px; 
        padding-right: 17px;
        -webkit-line-clamp: 1;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        white-space: normal;
    }
    ul.newa li a{
        color: #000;
    }

    .dateP{
        color: <?php echo $mipInfo['siteColor'];?>;
    }
    .reaquo{
        float: right;
    }

    .logos{
        width: 50px;
        height: 46px;
        background-color: red;
        float: right;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: -11px;
        margin-top: -10px;
    }
    .mui-bar-nav .mui-title{
        color:#000000;
        /*background: <?php echo $mipInfo['siteColor'];?>;*/
    }
    .mui-title a{
        float: left;
        margin-left: 12px;
    }
    footer p{
        width:100%;
        position:fixed;
        bottom:0;
        left:0;
    }
    .ct{  
        height:32px;
        margin-top: 20px;
        margin-bottom: 10px; 
    }
    .ctBottom{
        list-style: none;
        font-size: 18px;
        color: <?php echo $mipInfo['siteColor'];?>;
    }
    .ct p{
        font-size: 18px;
        padding-top: 2px;
        text-align: center;
        float: left;
        margin-left: 20px;
        font-weight: bold;
    }
    body{
        background-color: #FFFFFF;
    }
    .text-center{
        background-color: #efeff4;
    }
    
    .title{
        font-weight:bold;
    }
    .spanX{
        display: block;
        margin-top: 15px;
        text-align: center;
        font-size: 30px;
        color: #FFFFFF;
    }
    #sideul li a{
        color: #FFFFFF;
        font-size: 16px;
    }
   /* #sidebar{
        top:44px;
        width: 50%;
        background: rgba(255,255,255,.8);
    }*/

    .mip-title{
        border-left: 5px solid <?php echo $mipInfo['siteColor'];?>;
        margin-left: 9px;
    }

    mip-sidebar{
        min-width: 145px !important;
        top: 43px;
        background-color: rgba(0,0,0,0.8);
    }
    .p-xs{
        text-align: center;
    }
    .p-xs .mui-btn{
        text-align: center;
        /*background-color: #007aff;*/
        background-color: <?php echo $mipInfo['siteColor'];?>;
    }

    .pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover{
        background-color: #337ab7; 
        border-color: #337ab7;
        background-color: <?php echo $mipInfo['siteColor'];?>;
        border-color: <?php echo $mipInfo['siteColor'];?>;
    }

   /* .nicemip-back .home {
      display: inline-block;
      height: 40px;
      width: 98px;
      background: url(/uploads/<?php echo $mipInfo['siteLogo'];?>) no-repeat;
      background-size: 50%;
    }*/
    </style>
</head>
<body>
{if condition='$mipInfo["guanfanghaoStatus"]'}{$mipInfo['guanfanghaoCambrian']}{/if}
<mip-fixed type="top">
<header class="mip-nav-wrapper mui-bar-nav">
    {if condition='$act=="articleDetail"'}
    <mip-history history="back" class="mip-history-default nicemip-back">
        <span class="back"></span>
    </mip-history>
    {else/}
    <a data-type="mip" data-title='首页' href="{$domain}" class="nicemip-back">
        <!-- <span class="home"></span> -->
    </a>
    {/if}
    <h1 class="mui-title"><a data-type="mip" href="{$domain}"/>{$mipInfo['siteName']}</a></h1>
    <div id='tabWrap'>
        <label id='sideMenuControl' for='sidemenu'>
            <div class="logos">
                <div id="logo"><mip-img  class="tab" on="tap:right-sidebar.open" src="../public/assets/{$tplName}/images/tab.png" layout="responsive"></mip-img></div>
            </div>
        </label>
    </div>
    

</header>
</mip-fixed>
<mip-sidebar 
    id="right-sidebar"
    layout="nodisplay"
    side="right"
    class="mip-hidden">

    <ul id="sideul">
        <li>
            <a data-type="mip" href="{$domain}">首页</a>
        </li>
        {nicemip:articlecategory value="val"}
        {nicemip:articleinfo value="vs" cid='$val["id"]' limit='2' /}
            {if condition="count($vs) > 1"}
                <li><a data-type="mip"  href="{$val['url']}" >
                    {$val['name']}
                </a></li>
            {else/} 
                {nicemip:article value="v" cid='$val["id"]' limit='1' }{/nicemip:article}
                <li> <a data-type="mip"  href="{$v['url']}" >
                   {$val['name']}
                </a></li>
            {/if} 
        {/nicemip:articlecategory}
        <li>
            <a href="{$domain}admin" target="_blank" title='登录'>登录</a>
        </li>
        <!-- <li>
            <a href="http://zhannei.baidu.com/cse/search?s={$mipInfo['biaduZn']}" target="_blank" title='搜索'>搜索</a>
        </li> -->
        <span on="tap:right-sidebar.close" class="spanX">
             X 
        </span>
      
       
    </ul>
</mip-sidebar>
<main class="nice-main" id="nice-main">
  {block name="main"}{/block}
</main>

<footer>
    <p class="text-center">&copy;<?php echo date('Y'); ?> {$mipInfo['siteCopyright']}{$mipInfo['statistical']} </p>
</footer>

<mip-fixed type="gototop">
    <mip-gototop></mip-gototop>
</mip-fixed>

<!-- <input type='checkbox' id='sidemenu'/>
<div class="aside">
    <ul id="sideul">

        <a data-type="mip" href="{$domain}">
            <li>首页</li>
        </a>
        {nicemip:articlecategory value="val"}

        <a data-type="mip" href="{$val['url']}">

            <li>{$val['name']}</li>

        </a>

        {nicemip:articleinfo value="vs" cid='$val["id"]' limit='2' /}
            {if condition="count($vs) > 1"}
                <a data-type="mip"  href="{$val['url']}" >
                    <li>{$val['name']}</li>
                </a>
            {else/} 
                {nicemip:article value="v" cid='$val["id"]' limit='1' }{/nicemip:article}
                <a data-type="mip"  href="{$v['url']}" >
                    <li>{$val['name']}</li>
                </a>
            {/if} 

        {/nicemip:articlecategory}
    </ul>
</div> -->
{block name="script"}
<script src="https://c.mipcdn.com/static/v1/mip.js"></script>
<script src="https://c.mipcdn.com/static/v1/mip-stats-baidu/mip-stats-baidu.js"></script>
<script src="https://c.mipcdn.com/static/v1/mip-sidebar/mip-sidebar.js"></script>
<script src="https://c.mipcdn.com/static/v1/mip-gototop/mip-gototop.js" type="text/javascript" charset="utf-8"></script>
<script src="https://c.mipcdn.com/static/v1/mip-history/mip-history.js" type="text/javascript" charset="utf-8"></script>
<script src="https://c.mipcdn.com/static/v1/mip-fixed/mip-fixed.js" type="text/javascript" charset="utf-8"></script>
<script src="https://c.mipcdn.com/extensions/platform/v1/mip-cambrian/mip-cambrian.js"></script>
{/block}
</body>
</html>